package com.rabbiter.mapper;

import com.rabbiter.entity.TicketApprovalHistory;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TicketApprovalHistoryMapper {
    int deleteByPrimaryKey(Integer historyId);

    int insert(TicketApprovalHistory record);

    int insertOrUpdate(TicketApprovalHistory record);

    int insertOrUpdateSelective(TicketApprovalHistory record);

    int insertSelective(TicketApprovalHistory record);

    TicketApprovalHistory selectByPrimaryKey(Integer historyId);

    int updateByPrimaryKeySelective(TicketApprovalHistory record);

    int updateByPrimaryKey(TicketApprovalHistory record);

    int updateBatch(List<TicketApprovalHistory> list);

    int updateBatchSelective(List<TicketApprovalHistory> list);

    int batchInsert(@Param("list") List<TicketApprovalHistory> list);
}